import request from '@/utils/request'

function url(u) {
  const prefix = '/face'
  return `${prefix}${u || ''}`
}

export function faceCompare(face) {
  return request({
    url: url('/facecompare'),
    method: 'post',
    data: face
  })
}